let argv = process.argv;
if (argv.length > 2) {
    let buildTarget = argv[2];
    switch (buildTarget) {
        case "-Proto":
            require("./Proto/BuildProto");
            break;
        case "-Excel":
            require("./Excel/BuildExcel");
            break;
        case "-Code":
            require("./Code/BuildCode");
            break;
        default:
            console.log(`command error.`);
            console.log(`-Proto to build Proto files.`);
            console.log(`-Excel to export Excel files.`);
            console.log(`-Code  to build Code files.`);
            break;
    }
} else {
    console.log(`nothing to do.`);
}